<template>
  <div class="details">
    <div class="head">
      <img
        src="https://file.daqsoft.com/uploadfile/server/wl-cloud/cultural-tourism-cloud/site569221/640 4.jpg"
        alt="" />
      <div class="title">
        <div class="left">快乐的传递者</div>
        <div class="right">
          <i class="geek-icon">&#xe721;</i>
          <span>7</span>
        </div>
      </div>
    </div>
    <div class="head-img">
      <div class="left">
        <img
          src="https://file.daqsoft.com/uploadfile/server/wl-cloud/cultural-tourism-cloud/site569221/640 4.jpg"
          alt="" />
        <div>
          <div class="name">阿涛发呆</div>
          <div class="time">2024-04-29上传</div>
        </div>
      </div>
      <div class="right">
        <div>
          <i class="geek-icon">&#xe8c7;</i>
          10
        </div>
        <div>
          <i class="geek-icon">&#xe618;</i>
          10
        </div>
      </div>
    </div>
    <!-- 分享 -->

    <!-- 多图 -->
    <div class="list">
      <div
        v-for="item in 10"
        :key="item.id"
        class="item">
        {{ item }}
      </div>
    </div>
  </div>
</template>

<script setup lang="ts"></script>

<style lang="scss" scoped>
.details {
  .head {
    width: 100%;
    height: 400px;
    position: relative;
    img {
      width: 100%;
      height: 400px;
    }
    .title {
      color: #fff;
      display: flex;
      justify-content: space-between;
      width: 100%;
      position: absolute;
      bottom: 0;
      padding: 20px;

      .left {
        font-size: 32px;
        font-weight: bold;
        max-width: 600px;
        @include single;
      }
      .right {
        background: #ff9a03;
        border-radius: 30px;
        font-size: 24px;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 15px;
        i {
          font-size: 30px;
        }
        span {
          margin-left: 10px;
        }
      }
    }
  }
  .head-img {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    .left {
      display: flex;
      align-items: center;

      img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        margin-right: 15px;
      }
      .name {
        font-size: 30px;
      }
      .time {
        font-size: 20px;
        color: #919191;
      }
    }
    .right {
      display: flex;
      font-size: 24px;
      div {
        margin-left: 20px;
        i {
          font-size: 24px;
        }
      }
    }
  }
  .list {
    padding: 20px;
    .item {
      width: 100%;
      height: 400px;
      background: #ccc;
      margin-bottom: 20px;
    }
  }
}
</style>
